home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PsL Monthly 1993 December
/
PSL Monthly Shareware CD-ROM (December 1993).iso
/
prgmming
/
dos
/
c2.txt
< prev
next >
Wrap
Text File
|
1993-11-03
|
27KB
|
662 lines
Public (software) Library
Programming Library
Descriptions and Compilation Copyright 1993 Nelson Ford
Duplication, reprinting and distribution of these descriptions is restricted.
See LICENSE.DOC in the PSL_NEWS directory for complete information
C Programming, part 2
CONTENTS
-----DOS_ACCS: routines for accessing DOS, DOS functions, etc.
-----MEMORY: memory management, accessing, TSR's, multi-tasking, etc.
-----INFO_TUT: Information, tutorials, etc.
-----TOOLS: programming tools for C
=============================================================
-----DOS_ACCS: routines for accessing DOS, DOS functions, etc.
[CL_RH]
CL (Hirst, Roger; $0) is the C++ source for a command line parser.
[CMDLN]
CmdLn (Small, John W.; $0) provides an easy way to parse the command line.
[Att]
Att 1.0 (Tortorelli, Tony; $?) is C code for a file attribute modification
program.
[CHKFLP]
Chkflp (Kevin Traup; $0) contains source code and an executable to check
the status of a floppy drive.
[ConCur]
ConCur 1.0 (Dickerson, Richard; $0) is a concurrent programming module for
the C programming language that enables multi-tasking. It is small and easy
to use, and has built-in window management routines.
[CRITERR]
Critical Error Handler (Hyman, Peter; $0) is a critical error handler,
primarily for use with compilers that do not offer trapping or messages
like Abort, Retry, Ignore.
[DirScan]
DirScan 1.0 (Garrison, Jim; $0) is public domain C source code for a
utility that searches a disk directory structure for all files matching the
file-name and extension contained in the file mask.
[DSIZEDB]
DIRSize 1.0 (Bennett, David; $0) is C source code to display a listing of
directory and subdirectories specified.
[DISKSIZ]
DiskSize (Ford, George, H.; $0) is a routine to determine disk media size
and attributes.
[DRVRDY]
DrvRdy (Crosley, Tom; $0) is a routine for C to check to see if a floppy
disk drive is ready. This avoids the "Abort, Retry, Ignore" message when
the drive latch is left open, etc.
[FILEBUFF]
FileBuff (Morris, Ben; $0) contains source code to find values of FILES=
and BUFFERS= as set in CONFIG.SYS.
[FINDDEV]
FindDev (Woodruff, Eric; $0) is a routine which will locate a specified
device driver in memory.
[LESS]
Less.C (Lowther, Bruce; $0) is source code for a utility like DOS's MORE
filter, but scroll length can be modified on the command line. This program
is an example of combinations of the stdin stream, CON stream, and command
line parameters.
[VLCLASS]
Volume Label Class (Astin, Tom; $0) is code for getting, setting and
removing DOS disk volume labels.
[MSCHRT]
Microsoft C High Resolution Timer 2.00 (MSCHRT) (Ryle Design; $8) is a
software "toolbox" of C routines to manipulate one hundred different timers
each with one microsecond resolution. MSCHRT makes it easy to very
accurately time nearly any synchronous or asynchronous event your PC can
encounter.
[BIOSEQP]
BiosEquip (Hawk, H.L.; $0) is code that reports on system configuration:
the number of disk drives, parallel printers, serial ports, video mode, DOS
version, and checks for a math co-processor and game port.
[CPUSPED]
CPUSpeed contains small C functions to get CPU type and speed.
[DRIVER]
Driver (Hopson, Scott; $0) is a DOS device driver using C, with the header
in Assembler. This should be helpful to programmers wanting information on
writing DOS Device Drivers. Commented source code is included.
[DRVSPC]
DrvSpc (Micro Solutions Group, Inc.; $0) is a function that returns a long
value containing the current available drive space for the default drive or
the specified drive.
[I_Set]
I_Set 3.53 (Migliavacca, David; $0) contains C functions for editing of DOS
master environment, and a utility to automate variables-setting tasks with
an easy language. A choose program with an option to add strings in front
of a list in an environment string is included.
[BDC]
Bulk Disk Copier (MicroGenesis Software; $0) is C source for reading a
floppy image to a hard disk and copying it back to as many floppies as you
wish. It also formats blank floppies. The source code is an excellent
tutorial on lowlevel disk access under DOS.
-----MEMORY: memory management, accessing, TSR's, multi-tasking, etc.
[RMAXTSK]
RMAXTask 1.0 (RMAX Development Group; $25) is a library of C functions for
multitasking. It offers support for intertask synchronization and
communication, timed delays, and access to the keyboard. This system is
non-preemptive, but provides better intertask communication and scheduling
than do simple round-robin task switchers.
[CPPTASK]
CPPTask (Smith, Rich; $0) is a multi-tasking kernel For C++.
[GP]
GP.C (Erdelsky, Philip J.; $0) contains a general, reentrant version of
printf() that can easily be adapted to embedded systems.
[MTask]
MTask 1.0 (Ting, I H; $0) is a multitasking Turbo C library.
[RDCF]
RDCF 2.0 (Erdelsky, Philip J.; $0) is a ROMable, reentrant, DOS-compatible
file system.
[TSR_C]
TSR_C is an example of TSR in C that loads and unloads according to
undocumented DOS.
[ALLOCWG]
Alloc (Gersbacher, Willard; $?) contains several memory allocation
procedures. The procedures included provide functionally equivalent memory
allocation procedures for the main memory procedures used in MSC 5.1. The
MSC 5.1 library procedures were not satisfactory for this application
because they did not release memory back to the system when it was
`free'ed. Additionally, they tended to allocate too much memory under
certain circumstances which lead to a reduction in space available for
other programs and data which were currently active at the time.
[DVMAM]
DVMAM 1.10 (R.C.B. Enterprises; $35) is a memory allocation function that
enables your programs to access up to 24.5 megabytes of memory. This memory
can be expanded, extended or conventional. It is able to allocate eight
megs of LIM EMS memory 3.2 or higher, 16 megs of extended memory on a
80286/386 system, or 500k plus conventional memory.
[OVRLYGM]
Overlay (Martin, Gregory A.; $53) allows you to free up virtually all of
your memory used by your currently executing application and then run
another large program or shell out to DOS. It is written in assembly
language and callable by other assembly language or C programs.
[MEMCHEK]
MEMCheck 1.0 (Bridges, Steve; $0) is a library of functions to help monitor
heap usage and heap consistency in a real time mode for programs written in
Microsoft C.
[LABYTE]
LAByte (Logical Answers Corp.; $15) is a set of routines for handling
memory allocation and pointers.
[MEM]
Mem (Bright, Walter; $0) is a set of C routines for diagnosing pointer
problems, such as reference to freed space, overrun or underrun of buffers,
failure to free space, failure to initialize malloced structures and more.
[RCS]
Reentrant Cache System 1.0 (Erdelsky, Philip J.; $0) is the source for a
reentrant cache system.
[EMSIF]
EMSIF 2.42 (Birdsall, James W.; $5) is an interface to most common EMS
functions such as allocating, mapping, freeing EMS and copying data to and
from EMS.
[PCVMM]
PC Virtual Memory Manager (Superior Soft; $20) is the small and large model
library for a fast memory manager that allows your application programs to
allocate up to 32MB of virtual memory. Sample pcVMM program source code is
included.
[SPAWNSB]
Spawn 1.1 (Bridges, Steve; $17) is a set of functions for swapping a
program to EMS or disk in order to free up memory for another program and
then restore the original program when the second one is done.
[XMSIF]
XMSIF 1.42 (Birdsall, James W.; $5) provides a high-level interface to XMS
control functions for common operations such as allocating and freeing XMS
extended memory blocks and upper memory blocks and copying data to and from
EMBs.
[CSwitch]
CSwitch (Rose, Herb; $35) is a multitasking library. It provides a
preemptive schedular, semaphores, message queues, prioritized tasks, delay
functions, and more. Tasks can be spawned internally or loaded from disk. C
object modules